Api.WriteAxisProfileDeceleration 方法
设定轴的曲线减速度 (Profile Deceleration)。
命名空间:IntervalZero.KINGSTAR.OpcUa.Api
组合: IntervalZero.KINGSTAR.OpcUa.Api (于 IntervalZero.KINGSTAR.OpcUa.Client.dll) 版本:4.4.0.0
语法
public KsError WriteAxisProfileDeceleration(
int Index,
int Value
)
Public Function WriteAxisProfileDeceleration(
Index As Integer,
Value As Integer
) As KsError
参数
Index
型别:int
轴索引。索引以 0 为起始;别名将影响此参数。
Value
型别:int
欲写入的值。
回传值
型别:KsError
方法的回传代码。
备注
- 在周期回呼中使用,以更新轴的曲线减速度 (Profile Deceleration)。
-
此函式只能在手动模式中使用,请见 McControlMode 列举。
注意:曲线减速度 (Profile Deceleration) 仅在 EnableProfilePosition 启用时才可使用。
可用的 EtherCAT 状态
ecatOP
范例
N/A
参见